package net.huashitong.user.entity;

import javax.persistence.Entity;
import javax.persistence.Table;

import com.sirdc.modules.core.entity.StringEntity;

/**
 * 收藏表
 *
 * @author lzr
 */
@Entity
@Table(name = "t_gis_collection")
public class Collection extends StringEntity {

    /**
     *
     */
    private static final long serialVersionUID = 570887248115181795L;
    private String userId;//用户Id
    private String date;//日期
    private String photoId;//图片ID
    private String text;//文字描述
    private String alertId;//预警ID
    private String projectId;//項目ID

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getPhotoId() {
        return photoId;
    }

    public void setPhotoId(String photoId) {
        this.photoId = photoId;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getAlertId() {
        return alertId;
    }

    public void setAlertId(String alertId) {
        this.alertId = alertId;
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }
}
